package com.sky.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "sky.txcos")
@Data
public class ObjectStorageProperties {

    /**
     * 阿里云COS
     */
    private String aliEndpoint;
    private String aliAccessKeyId;
    private String aliAccessKeySecret;
    private String aliBucketName;

    /**
     * 腾讯云COS
     */
    private String tEndpoint;
    private String tAccessKeyId;
    private String tAccessKeySecret;
    private String tBucketName;

}
